//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet.Extensibility
{
    public class TreatStringsAsErrorAttribute : ParameterConverterAttribute
    {
        public TreatStringsAsErrorAttribute()
        {

        }
        public TreatStringsAsErrorAttribute(ReferenceOption o): base (o)
        {

        }
        internal override void ConvertImp(ConversionData data)
        {
            if (data.Value is string)
                data.Error = Errors.ValueError;
        }
    }
}